<?php


namespace App\Libraries\Express;


use App\Models\Order;

interface Express
{
    /**
     * Express constructor.
     * @param Order $order
     */
    public function __construct(Order $order);

    /**
     * 创建物流单
     * @return mixed
     */
    public function create() : Response;

    /**
     * 修改物流单
     * @return mixed
     */
    public function update() : Response;

    /**
     * 物流单清关
     * @return mixed
     */
    public function customs() : bool;

    /**
     * 获取面单
     * @return string
     */
    public function getPdf(): string;
}
